package com.xinqi.modules.course.curriculum.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 课程表-请求对象-新增
 *
 * @author: yyzhen
 * @date: 2023/09/04
 */
@Data
@Schema(description = "课程表-请求对象-新增")
public class CourseCurriculumCreateDTO implements Serializable {


    @Schema(description = "标题", example = "")
    private String title;

    @NotEmpty(message = "{course.curriculum.fileUrl.not.blank}")
    @Schema(description = "文件路径", example = "")
    private String fileUrl;
}
